<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script>
    var str = ['星期一','星期二','星期三','星期四','星期五','星期六','星期天'];
    console.log(str[6]);
</script>
<body>

</body>
</html>